package calbs.socket.exception;/**
 * Created by zhangqin on 2017/8/21.
 */

/**
 * 解析异常处理
 *
 * @author
 * @create 2017-08-21 16:10
 **/
public class AnalySocketException extends RuntimeException {

    private AnalySocketExceptionEmum analySocketExceptionEmum;

    public AnalySocketException(AnalySocketExceptionEmum analySocketExceptionEmum) {
        super(analySocketExceptionEmum.getMessage());
        this.analySocketExceptionEmum = analySocketExceptionEmum;
    }

    public AnalySocketExceptionEmum getAnalySocketExceptionEmum() {
        return analySocketExceptionEmum;
    }

    public void setAnalySocketExceptionEmum(AnalySocketExceptionEmum analySocketExceptionEmum) {
        this.analySocketExceptionEmum = analySocketExceptionEmum;
    }
}
